package cate.game.notice;

import cate.game.notice.msg.NoticeMessageResp;
import easy.java.dev.note.NoteField;

import java.util.List;


public class MessageRespBuilder implements INoticeRespBuilder<NoticeMessageResp>{
    @NoteField(value = "内容参数")
    private List<Object> paramList;
    public MessageRespBuilder paramList(List<Object> paramList) {
        this.paramList = paramList;
        return this;
    }

    @NoteField(value = "内容ID")
    private int contentId;
    public MessageRespBuilder contentId(int contentId) {
        this.contentId = contentId;
        return this;
    }

    @Override
    public NoticeMessageResp build() {
        NoticeMessageResp resp = new NoticeMessageResp();
        resp.paramList = this.paramList;
        resp.contentId = this.contentId;
        return resp;
    }
}
